home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / utilit~1 / lack.zoo / Makefile < prev    next >
Encoding:
Makefile  |  1994-01-02  |  799 b   |  33 lines

  1. CC=gcc
  2. AS=$(CC)
  3.  
  4. FLAGS= -mshort -mpcrel
  5. CFLAGS= -c -g $(FLAGS) -O2
  6. LIBS= -L./gemlib -llackaes -lmint16 
  7.  
  8. all: lack.xfs lack.acc
  9.  
  10. FSSRC=fs.c trap2.c lacc.c wind.c
  11. ASSRC=lack.s jump.s
  12. ASOBJ=lack.o jump.o
  13. FSOBJ=lack.o fs.o trap2.o jump.o lacc.o wind.o
  14.  
  15. lack.xfs: $(FSOBJ)
  16.     $(CC) $(FLAGS) -nostdlib -o lack.xfs $(FSOBJ) $(LIBS)
  17.  
  18. $(ASOBJ): $(ASSRC)
  19.     $(AS) $(FLAGS) -c -g $*.s
  20.  
  21. lack.acc: acc.c jump.o
  22.     $(CC) -mshort -g -O2 -o lack.acc acc.c jump.o $(LIBS)
  23.  
  24. install: lack.xfs
  25.     cp lack.xfs /boot/
  26.  
  27. dist: all
  28.     rm -f lack.zoo
  29.     zoo ah lack.zoo $(FSSRC) acc.c $(ASSRC) Makefile atarierr.h filesys.h \
  30. lack.h lackfs.h sysvars.h vaproto.h xbra.h gemlib/gemlib.diff  gemlib/aes.c \
  31. gemlib/aesparams.c gemlib/vdi.c gemlib/README.lack startlack.c startlack \
  32. lack.xfs lack.acc README
  33.